projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c7074
)
arm: atmel: at91sam9x5: cleanup cs configure for spi
author
Bo Shen
<
[email protected]
>
Tue, 17 Dec 2013 09:34:43 +0000
(17:34 +0800)
committer
Andreas Bießmann
<
[email protected]
>
Tue, 17 Dec 2013 16:21:14 +0000
(17:21 +0100)
As the cs for spi is worked in gpio mode, so no need to configure
it as peripheral and then configure to gpio. Configure it to gpio
directly.
Signed-off-by: Bo Shen <
[email protected]
>
Signed-off-by: Andreas Bießmann <
[email protected]
>
board/atmel/at91sam9x5ek/at91sam9x5ek.c
patch
|
blob
|
history
diff --git
a/board/atmel/at91sam9x5ek/at91sam9x5ek.c
b/board/atmel/at91sam9x5ek/at91sam9x5ek.c
index 6f67c34a5389c7135b2fb9e6f33197740b4d5cd3..17a2a40b4b3dc398c75e9ebee820f398c40db918 100644
(file)
--- a/
board/atmel/at91sam9x5ek/at91sam9x5ek.c
+++ b/
board/atmel/at91sam9x5ek/at91sam9x5ek.c
@@
-271,7
+271,6
@@
int board_init(void)
#endif
#ifdef CONFIG_ATMEL_SPI
- at91_spi0_hw_init(1 << 0);
at91_spi0_hw_init(1 << 4);
#endif